Functions

Link copied to clipboard

Applies a EntryCorrector to both weak and strong inputs

fun both(predicate: Predicate<String>, errorMsg: String = "Problem validating Entry!"): ValidatedString.Builder.BuilderWithValidator

Builds a validator for weak and strong inputs. This can't perform correction, so should be used where correction isn't feasible.

Link copied to clipboard
Link copied to clipboard

Builds the EntryCorrector instance for use

Link copied to clipboard
Link copied to clipboard

Applies an EntryCorrector for correcting strong inputs

fun strong(predicate: Predicate<String>, errorMsg: String = "Problem validating Entry!"): ValidatedString.Builder.BuilderWithValidator

Builds a validator for strong inputs. This can't perform correction, so should be used where correction isn't feasible.

Link copied to clipboard

Applies an EntryCorrector for correcting weak inputs

fun weak(predicate: Predicate<String>, errorMsg: String = "Problem validating Entry!"): ValidatedString.Builder.BuilderWithValidator

Builds a validator for weak inputs. This can't perform correction, so should be used where correction isn't feasible.